#pragma once
#include "ctrl.h"

//##ModelId=44CF17B80083
class CJoyImageCtrl :
    public CJoyCtrl
{
protected:
	//##ModelId=44CF17B8008E
    CJoyImagePtr    m_image;

	//##ModelId=44CF17B80092
    virtual void CM_LoadSkin(CJoyXmlElement* pSkinElem);
	//##ModelId=44CF17B80095
    virtual void CM_Draw(Graphics& graph);
public:
	//##ModelId=44CF17B8009E
    bool m_invertX;
	//##ModelId=44CF17B8009F
    bool m_invertY;

public:
	//##ModelId=44CF17B800A0
    CJoyImageCtrl(void);
	//##ModelId=44CF17B800A2
    virtual ~CJoyImageCtrl(void);

	//##ModelId=44CF17B800A5
    void SetImage(PCSTR pszName);
};
